package com.zxq.ruoyi.facade;

import com.zxq.ruoyi.service.impl.IotDeviceServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.PostConstruct;

@Service
public class DBFacade {

    static DBFacade dbFacade = null;

    public static DBFacade getInstance(){
        return dbFacade;
    }

    @PostConstruct
    public void initFactory(){
        dbFacade = this;
    }




    @Autowired
    public  IotDeviceServiceImpl iotDeviceService;







}
